home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / edpath.arc / EDPATH.DOC next >
Text File  |  1990-08-28  |  11KB  |  256 lines

  1.  
  2.  
  3.                                EDPATH Version 1.0
  4.                                 DOS Path Editor
  5.  
  6.  
  7.          ─────────────────────────── Notice ──────────────────────────
  8.  
  9.          EDPATH is not for sale.  You can copy it and distribute it
  10.          freely, however you may not charge any fee.   If you find
  11.          EDPATH to be a useful utility and would like to see improved
  12.          future versions your comments, sugestions, and contribution
  13.          of $10.00 would be greatly appreciated.
  14.  
  15.                                    Alpha Soft
  16.                                  4205 N. Donald
  17.                                Bethany, OK 73008
  18.                                  (405) 495-9351
  19.  
  20.                          (c) Copyright 1990 Alpha Soft
  21.  
  22.          ────────────────────────── Purpose ──────────────────────────
  23.  
  24.          EDPATH allows you to quickly insert, append, edit or delete a
  25.          directory from the DOS PATH found in the master environment.
  26.  
  27.          NOTE: EDPATH always makes changes to the master environment.
  28.          This means that if you shell to DOS from some other program
  29.          and use EDPATH to change the path, that change will not
  30.          affect the path in the Shell environment.  However when you
  31.          exit the shell and the program, you will find the change will
  32.          show up.
  33.  
  34.          Q: What is a PATH?
  35.  
  36.          A: A PATH is the search path that DOS uses to locate a
  37.             command or program if it is not found in the current
  38.             drive/directory.  The PATH is normally set in your
  39.             AUTOEXEC.BAT file.
  40.  
  41.          When you start EDPATH it will separate each of the
  42.           drive/directory combinations into a separate line and
  43.          display a pick window of your path.
  44.  
  45.            ╒══[ EDPATH - Version 1.00 1.0 - (c) 1990 Alpha Soft ]═══╕
  46.            │C:\                                                     │
  47.            │C:\DOS__________________________________________________▓
  48.            │C:\QDOS                                                 ░
  49.            │C:\TP                                                   ░
  50.            │C:\TD                                                   │
  51.            ╘══[ <─┘ Change │ Ins │ Del │ End │ ^<─┘ - Save │ Esc ]══╛
  52.  
  53.          The commands are as follows
  54.  
  55.          <─┘ Change - This command will allow you to edit the
  56.                       currently highlighted selection.  When you press
  57.                       <─┘ or enter you will see the following screen.
  58.  
  59.      ╒═══════════════════[ Change Directory in Path ]═══════════════════╕
  60.      │                                                                  │
  61.      │ Directory : [C:\DOS____________________________________________] │
  62.      │                                                                  │
  63.      ╘═════════[ <─┘ - Continue                   Esc - Abort ]═════════╛
  64.  
  65.  
  66.          Ins - This command will allow you to insert a drive/directory
  67.                BEFORE the currently highlighted one.  To insert press
  68.                the <Ins> key
  69.  
  70.       ╒═══════════════════[ Insert Directory in Path ]═══════════════════╕
  71.       │                                                                  │
  72.       │ Directory : [C:\ARC____________________________________________] │
  73.       │                                                                  │
  74.       ╘═════════[ <─┘ - Continue                   Esc - Abort ]═════════╛
  75.  
  76.          After inserting before C:\QDOS the path is now
  77.  
  78.            ╒══[ EDPATH - Version 1.00 1.0 - (c) 1990 Alpha Soft ]═══╕
  79.            │C:\                                                     │
  80.            │C:\DOS                                                  ░
  81.            │C:\ARC__________________________________________________▓
  82.            │C:\QDOS                                                 ░
  83.            │C:\TP                                                   ░
  84.            │C:\TD                                                   │
  85.            ╘══[ <─┘ Change │ Ins │ Del │ End │ ^<─┘ - Save │ Esc ]══╛
  86.  
  87.  
  88.  
  89.          End - This command will append a drive/directory to the end
  90.                of the current path.  To append press <End>
  91.  
  92.      ╒═══════════════════[ Append Directory in Path ]═══════════════════╕
  93.      │                                                                  │
  94.      │ Directory : [C:\UTILS__________________________________________] │
  95.      │                                                                  │
  96.      ╘═════════[ <─┘ - Continue                   Esc - Abort ]═════════╛
  97.  
  98.  
  99.          Del - This command will delete the curently highlighted drive
  100.                /directory.  Use with caution because it will not
  101.                verify that you really want to delete it.  To delete
  102.                press the <Del> key.
  103.  
  104.  
  105.             ╒══[ EDPATH - Version 1.00 1.0 - (c) 1990 Alpha Soft ]═══╕
  106.             │C:\                                                     │
  107.             │C:\DOS                                                  ░
  108.             │C:\QDOS_________________________________________________▓
  109.             │C:\TP                                                   ░
  110.             │C:\TD                                                   ░
  111.             │C:\UTILS                                                │
  112.             ╘══[ <─┘ Change │ Ins │ Del │ End │ ^<─┘ - Save │ Esc ]══╛
  113.  
  114.          Here we deleted the drive/directory C:\ARC by pressing <Del>
  115.          while C:\ARC was highlighted.
  116.  
  117.          ^<─┘- This command will save the changes you have made to the
  118.                DOS environment.  The ^ symbol stands for Ctrl,
  119.                therefore to do this command press and hold the Ctrl
  120.                key while pressing the <─┘ or enter key.
  121.  
  122.  
  123.          EDPATH Version 1.00 (c) 1990 Alpha Soft
  124.          New path : C:\;C:\DOS;C:\QDOS;C:\TP;C:\TD;C:\UTILS;
  125.  
  126.                After pressing Ctrl-Enter to save and exit, we see that
  127.                the path was changed.
  128.  
  129.          Esc - This command will exit without saving the changes you
  130.                have made to the DOS path.  To exit without saving
  131.                press the <Esc> key.
  132.  
  133.          EDPATH Version 1.00 (c) 1990 Alpha Soft
  134.          No change to path was made
  135.  
  136.                When we exit with <Esc> no changes are made.
  137.  
  138.          ─────────────────────────── Notes ───────────────────────────
  139.  
  140.          Some future revisions may include the following...
  141.  
  142.          Command line switches to allow EDPATH to change the path
  143.          without user intervention - from .BAT files for example.
  144.  
  145.          Command line switches to allow EDPATH to edit the Parent
  146.          Environment when shelling to DOS from another program.
  147.  
  148.          EDPATH would automatically detect when it is in a shelled DOS
  149.          environment and ask user if they want to modify the Parent
  150.          environment, Master environment or both.
  151.  
  152.          EDPATH could alter the PATH statement in the AUTOEXEC.BAT
  153.          file as well as the DOS environment.
  154.  
  155.          Let us know which of these you would like to see, as well as
  156.          any other ideas that you have.
  157.  
  158.  
  159.          ──────────────────── Version 1.01 Update ────────────────────
  160.  
  161.          EDPATH now supports the following command line switches
  162.  
  163.          /? - Command help
  164.          /F - Force Mono Attributes
  165.          /A D:\PATH - Append D:\PATH to DOS Path
  166.          /D D:\PATH - Delete D:\PATH from DOS Path
  167.          /M Modify Master Environment path
  168.          /P Modify Shell Environment path
  169.          /B Modify Master path and save to both
  170.  
  171.          EDPATH now automatically detects when it is being run from a
  172.          DOS Shell.  When it does, it will ask you which path you
  173.          would like to see, the Master path or the Shell path.  When
  174.          you exit and save, EDPATH will ask you which environment you
  175.          want to save the changes to.
  176.  
  177.          Watch for version 1.02...Certain to optionally alter the path
  178.          statement in AUTOEXEC.BAT
  179.  
  180.          ──────────────────── Version 1.02 Update ────────────────────
  181.  
  182.          Sorry Folks,  This version does not alter AUTOEXEC.BAT yet.
  183.          It's only purpose is to fix a bug with Version 1.01.  The bug
  184.          was that if you appended a path with the command line option
  185.          /A the program did not add a semicolon to the last directory
  186.          in the path before appending.
  187.  
  188.          We also added error checking for path names added.  If you
  189.          attempt to add an invalid path name, EDPATH will warn you.
  190.          The one side effect of this is that should you want to add a
  191.          floppy drive A: or B: to the path, you should make sure a
  192.          formatted floppy is in the drive.
  193.  
  194.          We have also discovered that some programs save and restore
  195.          the shell environment each time you enter and exit the shell.
  196.          Thus they overwrite the shell environment path you altered
  197.          with EDPATH.
  198.  
  199.          ──────────────────── Version 1.03 Update ────────────────────
  200.  
  201.          EDPATH will now optionally alter your AUTOEXEC.BAT or any
  202.          other text file that contains a line that begins with PATH=.
  203.          For safey's sake EDPATH will not add a line PATH= to a file
  204.          that doesn't already have one.
  205.  
  206.          EDPATH will now also check to see if you attempt to append a
  207.          path that already exists in the PATH using the /A option.
  208.          The reason for this was that if you used EDPATH in a batch
  209.          file to append a path and you didn't remove it before running
  210.          the batch file again.  EDPATH would append it over and over
  211.          again.
  212.  
  213.          ──────────────────── Version 1.04 Update ────────────────────
  214.  
  215.          This version corrects bugs with saving the path statement to
  216.          AUTOEXEC.BAT.
  217.  
  218.          ──────────────────── Version 1.05 Update ────────────────────
  219.  
  220.          EDPATH will now expand a path name based on the current
  221.          directory.  For example, suppose you are in a directory named
  222.  
  223.          C:\UTILS\DOSUTILS
  224.  
  225.          and you type  EDPATH /a pathutil
  226.  
  227.          EDPATH will append a directory named
  228.  
  229.          C:\UTILS\DOSUTILS\PATHUTIL
  230.  
  231.          ──────────────────── Version 1.06 Update ────────────────────
  232.  
  233.          EDPATH now uses DOS pathname parsing routines to determine
  234.          the expanded path name.  This means that EDPATH will
  235.          correctly interpret pathnames that include ".." and "."
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.